package com.ego.product.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: ego
 * @description 品牌分类关联
 * @author KamTang
 * @date 2022-11-13 12:56:14
 */
@Data
@TableName("pms_category_brand_relation")
public class CategoryBrandRelation implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;

	/**
	 * 品牌id
	 */
	@NotEmpty
	private Long brandId;
	/**
	 * 分类id
	 */
	@NotEmpty
	private Long categoryId;
	private String brandName;
	private String categoryName;

}
